package cn.samir.sudoku.core;

import java.util.LinkedList;

public class HistoryAction {

	private static LinkedList<MoveAction> historyActions = new LinkedList<MoveAction>();
	
	public static  void AddAction(MoveAction act){
		historyActions.add(act);
	}
	 
	public static MoveAction preAction(){
		return historyActions.removeLast();
		
	}
	
}
